<template>
  <div class="bestcotainer">
    <loading></loading>
    <div class="bg"><img src="../assets/resbg.jpg" class="resbg"/></div>
    <div class="rescontent">
      <h1>{{restopic}}</h1>
      <div class="container">
        <div class="row clearfix">
          <div class="col-md-7 column">
            <form role="form">
              <div class="form-group">
                <label for="resuser">{{resusername}}</label>
                <input type="text" :class="{'form-control texta':!err.isuser,'form-control':err.isuser}" id="resuser" placeholder="please enter" @blur="obuser" @click="ofuser" v-model="resmes.username" />
              </div>
              <div class="form-group">
                <label for="respassward">{{respassward}}</label><input type="password" class="form-control" id="respassward" placeholder="please enter" v-model="resmes.userpas"/>
              </div>
              <div class="form-group">
                <label for="restel">{{restel}}</label>
                <div class="input-group">
                  <input type="password" class="form-control" id="restel" placeholder="please enter" v-model="resmes.usertel"/>
                  <span class="input-group-btn" >
                  <button class="btn btn-default">{{sendmes}}</button>
                </span>
                </div>
              </div>
              <div class="form-group">
                <p class="text-white">
                  {{resstr}}
                </p>
              </div>
              <div class="submitcon">
                <vbutton class="btn btn-default" @vclick="resubmes">{{resbtn}}</vbutton>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>


<script src="../js/resindex.js"></script>

<!-- Add "scoped" attribute to limit CSS to this component only -->

<style>
  /*引入外部样式*/
  @import "../css/resindex.css";
</style>

